﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.OleDb;
using DTO;
using DAO;
using System.Data;
namespace BUS
{
    public class BaoCaoDiemBUS
    {
        public static OleDbDataAdapter BCDiemTV(DateTime kt)
        {

            BaoCaoDiem bc = new BaoCaoDiem();
            return bc.BCDiemTV(kt);
        }
        public static OleDbDataAdapter TheoDoiDonHang(DateTime kt)
        {

            BaoCaoDiem bc = new BaoCaoDiem();
            return bc.TheoDoiDonHang(kt);
        }
        public static int TongSPTheoTV(int MaSP, int MaNV, DateTime kt)
        {
            BaoCaoDiem bc = new BaoCaoDiem();
            return (int)bc.TongSPTheoTV(MaSP,MaNV, kt);
        }
        public static int TongSPChiTietTheoTV(int MaSP, int MaNV,int MaHD, DateTime kt)
        {
            BaoCaoDiem bc = new BaoCaoDiem();
            return (int)bc.TongSPChiTietTheoTV(MaSP, MaNV,MaHD, kt);
        }
        public static int TongCVTheoTV(int MaNV, DateTime kt)
        {
            BaoCaoDiem bc = new BaoCaoDiem();
            return (int)bc.TongCVTheoTV(MaNV, kt);
        }
        public static DataTable DiemChiTietTV(int MaNV, DateTime thang)
        {
            DAO.BaoCaoDiem bc = new DAO.BaoCaoDiem();
            return bc.DiemChiTietTV(MaNV,thang);
        }
        
    }
}
